package com.rs.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.rs.model.Project;
import com.rs.model.Reimburse;

@Mapper
public interface ReimburseMapper {
	int deleteByPrimaryKey(Integer re_id);

	int insert(Reimburse record);

	Reimburse selectByPrimaryKey(Integer re_id);

	List<Reimburse> selectAll();

	int updateByPrimaryKey(Reimburse record);

	List<Project> reimburseAllPC(Reimburse reimburse);//查询所有

	Reimburse reimburseByIdPC(Integer re_id);//根据ID查询

	int reimburseAddPC(Reimburse reimburse);//添加申请

	int reimburseUpdate(Reimburse reimburse);//修改申请

	int reimburseDel(Reimburse reimburse);//删除申请

	List<Reimburse> reimburseAllApp();//App查询所有

	int reimburseAddApp(Reimburse reimburse);//App添加申请

	int reimburseUpdateApp(Reimburse reimburse);//App修改申请

	int reimburseDelApp(Reimburse reimburse);//App删除申请

}